﻿#include "stdafx.h"
#include "Warrior_Fury.h"
#include "PressKeyUtil.h"
#include "DefInfo/GameInfo.h"


Warrior_Fury::Warrior_Fury()
{
	action.PushSequence("7", charge, [](SpellID id) { return true; });

	//action.PushSequence("B", );
}


Warrior_Fury::~Warrior_Fury()
{
}

void Warrior_Fury::ChooseBattleAction()
{
	if (PressKeyUtil::inst().press_battle_enbale && GameInfo::inst().PlayerInBattle() && GameInfo::inst().TargetIsEnemy() && GameInfo::inst().GetTargetHp() != 0)
	{
		do
		{
			action.DoAction();
		} while (false);
	}
}
